#ifndef FREERTOS_VARS_H
#define FREERTOS_VARS_H

#include <cmsis_os.h>

extern SemaphoreHandle_t motor_ctrl_semaphore;
extern SemaphoreHandle_t usb_rx_semaphore;
extern SemaphoreHandle_t usb_irq_semaphore;

extern osThreadId motor_thread;
extern osThreadId usb_thread;

extern QueueHandle_t debug_queue;
/*freertos.c*/
void init_deferred_interrupts(void) ;
#endif